<!DOCTYPE html>
<html lang="en"  >
<head>
    <meta charset="UTF-8">
    <title th:text="${title}">默认的Title</title>
    <style>
        table.gridtable {
            font-family: verdana, arial, sans-serif;
            font-size: 11px;
            color: #333333;
            border-width: 1px;
            border-color: #666666;
            border-collapse: collapse;
        }

        table.gridtable th {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #666666;
            background-color: #dedede;
        }

        table.gridtable td {
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #666666;
            background-color: #ffffff;

        }
    </style>
</head>
<body>
 <div>

    <table class="gridtable">
        <tr>
            <th>编号</th>
            <th>评价</th>
            <th>作者</th>
            <th>aId</th>
        </tr>

        <tr th:each="item:${comments}">
            <td th:text="${item.getId()}"></td>
            <td th:text="${item.getContent()}"></td>
            <td th:text="${item.getAuthor()}"></td>
            <td th:text="${item.getaId()}"></td>
        </tr>
        </table>

 </div>


</body>
</html>